package com.inspection.service.impl;

import com.inspection.dao.InspectionUserDao;
import com.inspection.entity.InspectionUserDO;
import com.inspection.service.InspectionUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InspectionUserServiceImpl implements InspectionUserService {

    @Autowired
    private InspectionUserDao inspectionUserDao;

    @Override
    public InspectionUserDO getUser(Long id) {
        return inspectionUserDao.getOne(id);
    }
}
